
using AutoMapper;
using JYJ.AiYard.StationManagement.TbStations;
using JYJ.AiYard.StationManagement.TbStations.Dtos;
using JYJ.AiYard.StationManagement.TbSales.Dtos;

namespace JYJ.AiYard.StationManagement.TbStations.Mapper
{

	/// <summary>
    /// 配置TbStation的AutoMapper
    /// </summary>
	internal static class TbStationMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap <TbStation,TbStationListDto>();
            configuration.CreateMap <TbStationListDto,TbStation>();

            configuration.CreateMap <TbStationEditDto,TbStation>();
            configuration.CreateMap <TbStation,TbStationEditDto>();

            configuration.CreateMap<TbStation, TbSaleSelectDto>();
            configuration.CreateMap<TbSaleSelectDto, TbStation>();

        }
	}
}
